package com.woniuxy.happylife.service;

import com.woniuxy.happylife.dto.AddRoleEntity;
import com.woniuxy.happylife.entity.RbacRole;

import java.util.List;

/**
 * @Classname RbacRoleService
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/2/17 15:05
 * @Created by hang
 */
public interface RbacRoleService {
    List<RbacRole> findAll();

    int addOne(AddRoleEntity addRoleEntity);

    int findById(RbacRole rbacRole);

    Boolean updateOne(RbacRole rbacRole);

    Boolean deleteOneById(int id);
}
